FROM java:8

COPY target/eureka-server-0.0.1-SNAPSHOT.jar /app.jar

CMD ["--server.port=8888"]

EXPOSE 8888

ENTRYPOINT ["java","-jar","/app.jar"]